package dao;

import entity.Customer;

import java.util.ArrayList;

public interface CustomerDao {

     int addCustomer(Customer customer);

     ArrayList<Customer> findAllCustomer();

     int updateCustomer(Customer customer);

     Customer findOneCustomer(int id);

     int deleteCustomer(Customer customer);

     ArrayList<Customer> findAnyCustomer(int startIndex, int length);

}
